home *** CD-ROM | disk | FTP | other *** search
/ PC Answers 1995 May / PC Answers CD-ROM 7 (Future Publishing) (May 1995).iso / vbits / code / shaw / vbits16 / vbitsvw.h < prev   
Encoding:
C/C++ Source or Header  |  1994-12-13  |  1.2 KB  |  48 lines

  1. // vbitsvw.h : interface of the CVbits16View class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CVbits16View : public CEditView
  6. {
  7. protected: // create from serialization only
  8.     CVbits16View();
  9.     DECLARE_DYNCREATE(CVbits16View)
  10.  
  11. // Attributes
  12. public:
  13.     CVbits16Doc* GetDocument();
  14.  
  15. // Operations
  16. public:
  17.  
  18. // Implementation
  19. public:
  20.     virtual ~CVbits16View();
  21.     virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  22. #ifdef _DEBUG
  23.     virtual void AssertValid() const;
  24.     virtual void Dump(CDumpContext& dc) const;
  25. #endif
  26.  
  27. protected:
  28.  
  29.     // Printing support
  30.     virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  31.     virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  32.     virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  33.  
  34. // Generated message map functions
  35. protected:
  36.     //{{AFX_MSG(CVbits16View)
  37.     afx_msg void OnViewNewdialog();
  38.     //}}AFX_MSG
  39.     DECLARE_MESSAGE_MAP()
  40. };
  41.  
  42. #ifndef _DEBUG  // debug version in vbitsvw.cpp
  43. inline CVbits16Doc* CVbits16View::GetDocument()
  44.    { return (CVbits16Doc*)m_pDocument; }
  45. #endif
  46.  
  47. /////////////////////////////////////////////////////////////////////////////
  48.